home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dirut / delupto.zip / DELUPTO.DOC < prev    next >
Text File  |  1992-09-28  |  2KB  |  41 lines

  1. /************************************************************************
  2.  *   DelUpto   ---  Deletes files with a date equal or prior to a given *
  3.  *                  argument.                                           *
  4.  *                                                                      *
  5.  *   Written By:    Steve Palm                                          *
  6.  *   Date:          09-28-92                                            *
  7.  *   Written for:   Anyone who wants to benefit from it.                *
  8.  *                                                                      *
  9.  *   Bugs:          None                                                *
  10.  *                                                                      *
  11.  ************************************************************************/
  12.  
  13.          
  14.  Are you trying to clear out your old data directories?
  15.  
  16.  I recently undertook this project at our company.  It's amazing just
  17.  how fast things can accumulate, isn't it?  <grin>   At any rate, we
  18.  made full backups of the data, but wanted to remove the "older" files
  19.  from the system.
  20.   
  21.  I decided to write a short little program to assist, and it's become
  22.  quite popular at the office, so I decided to release it on the world.
  23.          
  24.  It's quite simple to use:
  25.   
  26.     DELUPTO <date> <pattern>
  27.      
  28.  Date can be either (mm/dd/yy), (mm-dd-yy), (mm/dd/yyyy), or (mm-dd-yyyy)
  29.  format.  And in the case of a double-digit year, anything BELOW 70 is
  30.  taken to be after the year 2000.
  31.  
  32.  <pattern> is any valid dos wildcard pattern.
  33.  
  34.  I've included the source just in case you wish to amuse yourself, or
  35.  in case you are just plain curious as to what's going on inside.
  36.   
  37.  Enjoy!
  38.  
  39.  Steve Palm    (smp@myamiga.mixcom.com, or 1:154/600@fidonet.org)
  40.  
  41.